<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ComLib.Web.Lib.Models.EntityListViewModel>" %>
<%@ Import Namespace="ComLib.Authentication" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   
   <h2><%= Model.Config.Get<string>(Model.Name, "ListHeading", Model.Name + "(s)") %></h2>
   <br /><br />
    
   <% Html.RenderPartial(Model.ControlPath, Model); %>
    
   <%
       // 1. Displays the pager. 
       if(Model.Config.Get<bool>(Model.Name, "ShowPager", true))
       { %>
            <br /><br /><% Html.RenderPartial("Controls/Pager", Model); %><br /><br />
    <% } %> 
    
</asp:Content>